package service;

import pojo.AppointmentRule;
import java.util.List;

public interface AppointmentRuleService {
    int addRule(AppointmentRule rule);
    int updateRule(AppointmentRule rule);
    int deleteRule(Integer ruleId);
    AppointmentRule getRuleById(Integer ruleId);
    List<AppointmentRule> getAllRules();
    List<AppointmentRule> getRulesByRuleName(String ruleName);
}
